import FeatureLayer from '@arcgis/core/layers/FeatureLayer.js'

export const createFeatureLayer = (url: string) => {
  return new FeatureLayer({
    url: url,
    outFields: ['*'],
  })
}
